/**   
* @Title: TeacherImpl.java 
* @Package cn.hdmis.dao.imp 
* @Description: TODO
* @author pnwazgx@163.com   
* @date 2011-3-28 下午10:29:47 
* @version V1.0   
*/
package cn.hdmis.dao.impl;

import java.io.Serializable;
import java.util.List;

import cn.hdmis.dao.TeacherDao;
import cn.hdmis.entity.Grade;
import cn.hdmis.entity.Teacher;

/** 
 * @ClassName: TeacherImpl 
 * @Description: TODO
 * @author pnwzgx@163.com
 * @date 2011-3-28 下午10:29:47 
 *  
 */

public class TeacherDaoImpl extends BaseDaoImp<Teacher> implements TeacherDao {

	/* (非 Javadoc) 
	 * <p>Title: addTeacher</p> 
	 * <p>Description: </p> 
	 * @param teacher 
	 * @see cn.hdmis.dao.TeacherDao#addTeacher(cn.hdmis.entity.Teacher) 
	 */
	@Override
	public void addTeacher(Teacher teacher) {
		// TODO Auto-generated method stub
		this.save(teacher);
	}

	/* (非 Javadoc) 
	 * <p>Title: assignClass</p> 
	 * <p>Description: </p> 
	 * @param clazz 
	 * @see cn.hdmis.dao.TeacherDao#assignClass(cn.hdmis.entity.StudentsClass) 
	 */
	@Override
	public void assignClass(Grade grade) {
		// TODO Auto-generated method stub

	}

	/* (非 Javadoc) 
	 * <p>Title: changeClass</p> 
	 * <p>Description: </p> 
	 * @param clazz 
	 * @see cn.hdmis.dao.TeacherDao#changeClass(cn.hdmis.entity.StudentsClass) 
	 */
	@Override
	public void changeClass(Grade clazz) {
		// TODO Auto-generated method stub

	}

	/* (非 Javadoc) 
	 * <p>Title: classTeacher</p> 
	 * <p>Description: </p> 
	 * @param clazz
	 * @return 
	 * @see cn.hdmis.dao.TeacherDao#classTeacher(cn.hdmis.entity.StudentsClass) 
	 */
	@Override
	public List<Teacher> classTeacher(Grade clazz) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (非 Javadoc) 
	 * <p>Title: count</p> 
	 * <p>Description: </p> 
	 * @return 
	 * @see cn.hdmis.dao.TeacherDao#count() 
	 */
	@Override
	public int count() {
		// TODO Auto-generated method stub
		return 0;
	}

	/* (非 Javadoc) 
	 * <p>Title: findClazzs</p> 
	 * <p>Description: </p> 
	 * @param teacher
	 * @return 
	 * @see cn.hdmis.dao.TeacherDao#findClazzs(cn.hdmis.entity.Teacher) 
	 */
	@Override
	public List<Grade> findClazzs(Teacher teacher) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (非 Javadoc) 
	 * <p>Title: removeTeacher</p> 
	 * <p>Description: </p> 
	 * @param teacher 
	 * @see cn.hdmis.dao.TeacherDao#removeTeacher(cn.hdmis.entity.Teacher) 
	 */
	@Override
	public void removeTeacher(Serializable id) {
		// TODO Auto-generated method stub
		this.delete(id);
	}

	/* (非 Javadoc) 
	 * <p>Title: workAge</p> 
	 * <p>Description: </p> 
	 * @param teacher
	 * @return 
	 * @see cn.hdmis.dao.TeacherDao#workAge(cn.hdmis.entity.Teacher) 
	 */
	@Override
	public int workAge(Teacher teacher) {
		// TODO Auto-generated method stub
		return 0;
	}

}
